﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BI.CF.Model;
using BI.CF.PageList;
namespace BI.CF.IDAL
{
    public interface UsersIDAL
    {
        /// <summary>
        /// 会员的列表显示
        /// </summary>
        /// <param name="UserName">用户名</param>
        /// <param name="UserrRealName">真实名字</param>
        /// <param name="PageIndex">当前页</param>
        /// <param name="PageSize">每页显示几条数据</param>
        /// <returns></returns>
        Pager<UserrsModel> Show_Users(string UserName, string UserrRealName, int PageIndex, int PageSize);
        /// <summary>
        /// 显示会员详情
        /// </summary>
        /// <param name="UserID"></param>
        /// <returns></returns>
        UserrsModel Show_UserDetails(int UserID);
        /// <summary>
        /// 会员财产详情
        /// </summary>
        /// <param name="UserID"></param>
        /// <returns></returns>
        MemPropertyModel Show_UserMemProperty(int UserID);
        /// <summary>
        /// 会员信息修改
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        int Users_GetUpdate(UserrsModel m);
    }
}
